"use strict";
const BaseImpl = require("../basics/clz/baseimpl");
const Result = require("../basics/result");
const Constant = require("../basics/constant");
const DicsModel = require("../model/dics");


/**
 * 通用服务
 */
class HomeImpl extends BaseImpl {

  /**
   * 查询DIV高度
   */
  async findDivHeight() {
    const data = await DicsModel.getInstant(this.cloud).selectStrOne(Constant.DICS.DIV_HEIGHT);
    if (!data) {
      return {};
    }
    return JSON.parse(data);
  }
}

module.exports = HomeImpl;